home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-04-03 | 1.2 KB | 55 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Program Options\Other Programs\WinOnCD"
- "NAME"="General"
- "VERSION"="1.01"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Eject CD after recording is finished"
- "DESCRIPTION 1"="Some options for CeQuadrats WinOnCD."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All rights reserved."
- "COMMENT 1"=" "
-
-
- sPCheck="HKLM\Software\CeQuadrat\WinonCD\"
- sV1="HKLM\Software\CeQuadrat\WinonCD\Recorder\No Eject" 'STR: 1
-
- Sub Plugin_Initialize
- if RegPathExists(sPCheck) then
- i=RegReadValue(sV1)
- If IsEmpty(i)=true then
- SetUIElement 1,true
- else
- if i=0 then
- SetUIElement 1,true
- end if
- end if
-
- else
- Disable()
- end if
- END SUB
-
- 'Called when the Plugin should validate the Data the user has entered
- SUB Plugin_CheckData(ElementIndex)
- END SUB
-
- 'Called when the Plugin should apply the changes
- SUB Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- s="0"
- else
- s="1"
- end if
- Call RegWriteValue(sV1,s,1)
-
-
- END SUB
-
- 'Called when the Plugin is about to be removed from memory
- SUB Plugin_Terminate
- END SUB
-